Skip to content

docs: require overlay storage driver for bootc switch - #21

Open
bupd wants to merge 1 commit into
mainfrom
docs/bootc-storage-driver-prereq
Open

docs: require overlay storage driver for bootc switch#21
bupd wants to merge 1 commit into
mainfrom
docs/bootc-storage-driver-prereq

Conversation

@bupd

@bupd bupd commented Aug 12, 2026

Copy link
Copy Markdown
Member

Why

A fresh host without an explicit /etc/containers/storage.conf can hit this on bootc switch:

ERRO[0000] User-selected graph driver "overlay" overwritten by graph driver "vfs" from database - delete libpod local files ("/run/bootc/storage") to resolve.

/run/bootc/storage is bootc's own ephemeral tmpfs staging store for the image it's about to switch to. It independently decides vfs, and containers/storage won't trust the system's overlay default over what's already recorded there. Deleting the directory doesn't fix it — the driver gets re-derived the same way on the next invocation. The actual fix is pinning the driver at /etc/containers/storage.conf, which overrides every other storage.conf on the host.

What

Documents this as a host prerequisite in docs/laptop-bootc-architecture.md, with the required config and the symptom to search for next time.

🤖 Generated with Claude Code

A fresh host without an explicit /etc/containers/storage.conf can hit
'graph driver "overlay" overwritten by graph driver "vfs"' on bootc
switch, because /run/bootc/storage (bootc's tmpfs staging store) picks
vfs on its own and containers/storage refuses to trust the configured
overlay default over what it already recorded. Deleting that directory
doesn't help since the driver gets re-derived the same way next run;
pinning the driver in /etc/containers/storage.conf does.

Signed-off-by: Prasanth Baskar <prasanth@8gears.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant